package com.central.apps.controller;

import com.central.apps.handler.timeTask.inspcriterion.InspplanTask;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/test")
@Slf4j
public class inspplanTest {
    @Autowired
    private InspplanTask inspplanTask;
    @PostMapping("/checkPlan")
    public void inspplan(@RequestBody Map<String,Object> params)throws Exception{
          inspplanTask.doCreateInsptaskByinspplan(params);

    }



}
